package com.spring.boot.demo.slave.mapper;

import com.spring.boot.demo.pojo.DeptBo;
import org.apache.ibatis.annotations.Param;

/**
 * @author ZhuYouBin
 * @version 1.0.0
 * @Date: 2022/10/26 23:08
 * @Description
 */
public interface DeptMapper {
    /**
     * 根据 ID 查询部门
     * @param deptId
     * @return
     */
    DeptBo getDeptById(@Param("deptId") Integer deptId);
}
